public class exception {


    public static void func(int a) throws CloneNotSupportedException {

        if (a == 0) {
            throw new CloneNotSupportedException("a==0");
        }
        System.out.println(10 / a);
    }

    public static void main(String[] args) throws CloneNotSupportedException {

        try {
            func(0);
            System.out.println("222");
        } catch (CloneNotSupportedException c) {
            c.printStackTrace();
            System.out.println("检查到了Clone异常！");
        }

        System.out.println("111");

    }
}
